package fr.cnam.projetSiw.shared;

import java.io.Serializable;
import java.util.ArrayList;

public class City implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7894809247695426667L;
	
	private String name;
	private String countryName;
	private ArrayList<MusicEvent> lstEvents = new ArrayList<MusicEvent>();
	
	public City(){
		
	}

	public City(String name, String countryName){
		this.name = name;
		this.countryName = countryName;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public ArrayList<MusicEvent> getLstEvents() {
		return lstEvents;
	}

	public void setLstEvents(ArrayList<MusicEvent> lstEvents) {
		this.lstEvents = lstEvents;
	}
	
	@Override
	public String toString()
	{
		return name;
	}

	public String getCountryName() {
		return countryName;
	}

	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}
	
}
